package com.jiangjiang.eshop.finance.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @ClassName PurchaseSettlementOrderDO
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/15 23:31
 * @Version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PurchaseSettlementOrderDTO {
    /**
     * id
     */
    private Long id;
    /**
     * 采购入库单id
     */
    private Long purchaseInputOrderId;
    /**
     * 采购单id
     */
    private Long purchaseOrderId;
    /**
     * 供应商id
     */
    private Long supplierId;
    /**
     * 预期到达时间
     */
    private Date expectArrivalTime;
    /**
     * 实际到达时间
     */
    private Date actualArrivalTime;
    /**
     * 采购联系人
     */
    private String purchaseContractor;
    /**
     * 采购联系人电话号码
     */
    private String purchaseContractorPhoneNumber;
    /**
     * 采购联系人邮箱地址
     */
    private String purchaseContractorEmail;
    /**
     * 采购单备注
     */
    private String purchaseOrderRemark;
    /**
     * 采购员
     */
    private String purchaser;
    /**
     * 采购入库单的状态
     */
    private Integer status;
    /**
     * 采购结算单总金额
     */
    private Double totalSettlementAmount;
    /**
     * 采购入库单的创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtCreate;
    /**
     * 采购入库单的修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtModified;
    /**
     * 采购结算单条目集合
     */
    private List<PurchaseSettlementOrderItemDTO> items;
}
